<div  class="with-padding">
	<select id="search_select" class="form-control pull-left" style="width:150px;">
		<option value="type" selected="selected">类型</option>
		<option value="account_cat_name">分类</option>
		<option value="cost_teacher_name">人员</option>
		<option value="money">金额</option>
		<option value="created_at">日期</option>			    	
		<option value="create_teacher_name">记录人员</option>
	</select>
	<div class="input-group pull-left "style="width:200px;padding:0px;">
	    <input id="search_input" ng-model="key.content" type="text" class="form-control" >
	</div> 	
	<button id="search_send_button" class="btn btn-default  btn-primary" type="button">搜索</button>
	<button ng-click="reload()" class="btn btn-default  btn-primary" type="button">显示全部</button>	
	<div class="pull-right">
	    <a href="#/account_add"><button type="button" class="btn btn-primary ">新建</button></a>
	</div>
</div>
<table class="table">
    <thead>
	    <tr>
	    	<th>序号</th>
	    	<th>类型</th>
	    	<th>分类</th>
	    	<th>人员</th>
	    	<th>金额</th>
	    	<th>日期</th>			    	
	    	<th>记录人员</th>
	    	<th>备注</th>
	    	<th>操作</th>
	    </tr>
  	</thead>
  	<tbody>
	    <tr ng-repeat="account in accounts">
	    	<td>{{$index+1}}</td>
	    	<td>{{account.type}}</td>
	    	<td>{{account.account_cat_name}}</td>
	    	<td>{{account.cost_teacher_name}}</td>
	    	<td>{{account.money}}</td>
	    	<td>{{account.create_at}}</td>	
	    	<td>{{account.create_teacher_name}}</td>	    	
	    	<td>{{account.remark}}</td>
	    	<td >
	    		<button ng-click="delete(account)" class="icon-trash btn " style="color:#d2322d"></button>
	    	</td>
	    </tr>
  	</tbody>
</table>
<ul class="pager" style="margin-left:25%">
    <li class="previous"><a href="#">« 上一页</a></li>
    <li><a href="#">1</a></li>
    <li><a href="#">2</a></li>
    <li class="active"><a href="#">3</a></li>
    <li><a href="#">4</a></li>
    <li><a href="#">5</a></li>
    <li><a href="###" data-toggle="pager" data-placement="top">...</a></li>
    <li><a href="#">10</a></li>
    <li class="next"><a href="#">下一页 »</a></li>
 </ul>

